import {OpenFileWithName} from "@/typescript/utils/files/OpenFileWithName";
import {GetImageFromBase64} from "@/typescript/utils/image/GetImageFromBase64";

let GetImageFromFile = async () =>  {
    let imageInfo = await OpenFileWithName('image/*');
    return await GetImageFromBase64(imageInfo.text);
}

export {GetImageFromFile};